package top.ljlgithub.api.service;

import top.ljlgithub.api.bean.Role;
import top.ljlgithub.api.bean.TreeBO;
import top.ljlgithub.api.bean.TreeRole;

import java.util.List;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/5/6 18:30
 * @Version 1.0
 **/
public interface RoleService {
    List<TreeRole> getTreeRole();
    Role addRole(Role role);
    Role findRole(int id);
    Role updateRole(Role role);
    void deleteRole(int id);
    List<TreeBO> updateRight(String ids, int id);
    String findIdsById(int id);
}
